package service;

import org.apache.ibatis.annotations.Param;
import entity.Computerroom;
import utils.Page;

public interface ComputerRoomService {
    Page<Computerroom> getComputerRooms(@Param("computerroom") Computerroom computerroom,
                                        @Param("pageBegin") Integer pageBegin,
                                        @Param("pageSize") Integer pageSize);
    boolean insert(Computerroom computerroom);
    public boolean update(Computerroom computerroom);
    boolean delete(@Param("roomId") Integer roomId);
    public Computerroom getById(@Param("id") Long id);

    public Computerroom findByAccount(@Param("roomName")String roomName);
}
